Skip to content

[e2e] TIP pers: Fix Simulation run checks#9043

Merged
odeimaiz merged 2 commits intoITISFoundation:masterfrom
odeimaiz:e2e/tip-sims
Apr 20, 2026
Merged

[e2e] TIP pers: Fix Simulation run checks#9043
odeimaiz merged 2 commits intoITISFoundation:masterfrom
odeimaiz:e2e/tip-sims

Conversation

@odeimaiz
Copy link
Copy Markdown
Member

@odeimaiz odeimaiz commented Apr 20, 2026

What do these changes do?

When the button icon element disappears from the DOM after the simulation/export finishes it means that the Simulations finished and the Export is done. This PR fixes those handles.

Related issue/s

How to test

Dev-ops

@odeimaiz odeimaiz added this to the Etna milestone Apr 20, 2026
@odeimaiz odeimaiz self-assigned this Apr 20, 2026
@odeimaiz odeimaiz requested a review from Copilot April 20, 2026 08:18
@odeimaiz odeimaiz added the e2e Bugs found by or related to the end-2-end testing label Apr 20, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the TIP personalized plan Playwright E2E test to tolerate missing button <i> icons when checking for simulation/export completion, aiming to reduce flakiness around export/setup button state detection.

Changes:

  • Wrap setup button icon evaluation in a try/except PlaywrightError and treat missing icon as “likely completed”.
  • Wrap export button icon evaluation in a try/except PlaywrightError and treat missing icon as “likely completed”.

Comment thread tests/e2e-playwright/tests/tip/test_ti_personalized_plan.py
Comment thread tests/e2e-playwright/tests/tip/test_ti_personalized_plan.py
@odeimaiz odeimaiz changed the title [e2e] TIP pers [e2e] TIP pers: Fix Simulation run checks Apr 20, 2026
@odeimaiz odeimaiz enabled auto-merge (squash) April 20, 2026 08:25
@sonarqubecloud
Copy link
Copy Markdown

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.52%. Comparing base (864bb0b) to head (f4321c2).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9043      +/-   ##
==========================================
- Coverage   86.33%   82.52%   -3.81%     
==========================================
  Files        2004     1965      -39     
  Lines       78474    75884    -2590     
  Branches     1451     1451              
==========================================
- Hits        67751    62624    -5127     
- Misses      10318    12848    +2530     
- Partials      405      412       +7     
Flag Coverage Δ *Carryforward flag
integrationtests 63.98% <ø> (+2.82%) ⬆️
unittests 81.23% <ø> (-5.00%) ⬇️ Carriedforward from 864bb0b

*This pull request uses carry forward flags. Click here to find out more.

Components Coverage Δ
pkg_aws_library 95.29% <ø> (ø)
pkg_celery_library 77.72% <ø> (ø)
pkg_dask_task_models_library 79.65% <ø> (ø)
pkg_models_library 92.63% <ø> (ø)
pkg_notifications_library 84.48% <ø> (ø)
pkg_postgres_database 89.29% <ø> (ø)
pkg_service_integration 72.81% <ø> (ø)
pkg_service_library 70.41% <ø> (ø)
pkg_settings_library 90.48% <ø> (ø)
pkg_simcore_sdk 85.89% <ø> (+13.14%) ⬆️
agent 93.26% <ø> (ø)
api_server 91.40% <ø> (ø)
autoscaling ∅ <ø> (∅)
catalog 92.10% <ø> (ø)
clusters_keeper 98.59% <ø> (ø)
dask_sidecar 91.74% <ø> (ø)
datcore_adapter 97.95% <ø> (ø)
director 75.53% <ø> (ø)
director_v2 91.67% <ø> (+5.53%) ⬆️
dynamic_scheduler 95.97% <ø> (ø)
dynamic_sidecar 73.91% <ø> (-13.59%) ⬇️
efs_guardian 89.73% <ø> (ø)
invitations 90.93% <ø> (ø)
payments 92.87% <ø> (ø)
resource_usage_tracker 92.98% <ø> (ø)
storage ∅ <ø> (∅)
webclient ∅ <ø> (∅)
webserver 74.43% <ø> (-11.62%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 864bb0b...f4321c2. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@odeimaiz odeimaiz merged commit dbd3523 into ITISFoundation:master Apr 20, 2026
94 of 96 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e2e Bugs found by or related to the end-2-end testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants